Used with BASS_WASAPI_GetInfo to retrieve information on the current device.
| typedef struct { DWORD initflags; DWORD freq; DWORD chans; DWORD format; DWORD buflen; DWORD volmax; DWORD volmin; DWORD volstep; } BASS_WASAPI_INFO; |
Members
| initflags | The flags parameter of the BASS_WASAPI_Init call. | freq | The sample rate. | chans | The number of channels... 1 = mono, 2 = stereo, etc. | format | The device's sample format. One of the following.
|
buflen | The buffer size in bytes. | volmax | The maximum volume setting in dB. | volmin | The minimum volume setting in dB. | volstep | The volume step size in dB. |
Remarks
format indicates the device's sample format, which is not necessarily the same as what a WASAPIPROC callback function or the BASS_WASAPI_PutData and BASS_WASAPI_GetData functions deal in; that is always 32-bit floating-point.
volmin and volmax indicate the valid volume setting range with BASS_WASAPI_SetVolume and BASS_WASAPI_GetVolume, when not using the linear curve.
See also
BASS_WASAPI_GetInfo